<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>特殊的js逻辑运算符</title>
	</head>
	<body>
		<script>
			var n1=12,n2='ab',n3=0;
			console.log(n1 && n2);
			console.log(n3 && n1);
			console.log(n1||n2);
			console.log(n1||n3);
		</script>
	</body>
</html>

